package thread.synchronization;

import thread.synchronization.SnychroniszationedTheads.MyThread1;
import thread.synchronization.SnychroniszationedTheads.MyThread2;

public class SnychronizationMain {
	public static void main(String[] args) {
		SnychroniszationedTheads sn = new SnychroniszationedTheads();
		
	    MyThread1 t2 = sn.new MyThread1(sn);
	   
		MyThread2 t1 = sn.new MyThread2(sn);
		t1.start();
		t2.start();
	}

}
